package com.example.xpvideo.entity;

import java.math.BigDecimal;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * (LsGoodsItem)实体类
 *
 * @author 杨丽辉
 * @since 2021-08-17 11:31:39
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LsGoodsItem implements Serializable {
    private static final long serialVersionUID = 561758968975436610L;
        /**
    *主键
    * ${column.comment}
    * isnull 1
    */
        private Integer id;

    /**
    * 商品SKU图像
    * isnull 0
    */            private String image;
    /**
    * 商品id
    * isnull 0
    */            private Integer goodsId;
    /**
    * 多个规格id，隔开
    * isnull 0
    */            private String specValueIds;
    /**
    * 多个规格名称，隔开
    * isnull 0
    */            private String specValueStr;
    /**
    * 市场价
    * isnull 0
    */            private BigDecimal marketPrice;
    /**
    * 价格
    * isnull 0
    */            private BigDecimal price;
    /**
    * 库存
    * isnull 0
    */            private Integer stock;
    /**
    * 体积
    * isnull 0
    */            private BigDecimal volume;
    /**
    * 重量
    * isnull 0
    */            private BigDecimal weight;
    /**
    * 条码
    * isnull 0
    */            private String barCode;
    /**
    * 成本价
    * isnull 0
    */            private BigDecimal chengbenPrice;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
        
    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }
        
    public String getSpecValueIds() {
        return specValueIds;
    }

    public void setSpecValueIds(String specValueIds) {
        this.specValueIds = specValueIds;
    }
        
    public String getSpecValueStr() {
        return specValueStr;
    }

    public void setSpecValueStr(String specValueStr) {
        this.specValueStr = specValueStr;
    }
        
    public BigDecimal getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(BigDecimal marketPrice) {
        this.marketPrice = marketPrice;
    }
        
    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
        
    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }
        
    public BigDecimal getVolume() {
        return volume;
    }

    public void setVolume(BigDecimal volume) {
        this.volume = volume;
    }
        
    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }
        
    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }
        
    public BigDecimal getChengbenPrice() {
        return chengbenPrice;
    }

    public void setChengbenPrice(BigDecimal chengbenPrice) {
        this.chengbenPrice = chengbenPrice;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"image\":" + image +
                            " ,\"goodsId\":" + goodsId +
                            " ,\"specValueIds\":" + specValueIds +
                            " ,\"specValueStr\":" + specValueStr +
                            " ,\"marketPrice\":" + marketPrice +
                            " ,\"price\":" + price +
                            " ,\"stock\":" + stock +
                            " ,\"volume\":" + volume +
                            " ,\"weight\":" + weight +
                            " ,\"barCode\":" + barCode +
                            " ,\"chengbenPrice\":" + chengbenPrice +
                  '}';
    }


}
